/*
* @Author: Marte
* @Date:   2017-05-17 11:45:12
* @Last Modified by:   Marte
* @Last Modified time: 2017-05-18 11:34:10
*/
.container {
    position:relative;
    z-index:1;
    width: 100%;
    margin:0 auto;
    font-size:14px;
}
ul,li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.container .img {
    width: 40px;
    height:40px;
    border-radius: 50%;
    border: 1px solid #c1bdbd;
}
.left {
    position:absolute;
    left:0;
    top: 0;
    width: 200px;
    height:100%;
    background-color: #d9d9d9;
}
.left li {
    position: relative;
    margin: 5px;
    padding: 5px 30px 5px 5px;
    line-height: 40px;
    cursor: pointer;
    border-radius: 3px;
}
li.active {
    background-color: #F3F3F3 !important;
}
.left li img {
    vertical-align:top;
}
.left li span {
    vertical-align:top;
    width: 100px;
    font-size: 14px;
    overflow: hidden;
}
.left li:hover {
    background-color: #E2E2E2;
}
.left li:hover .close-two {
    display:block;
}
.close-two {
    display: none;
    position:absolute;
    top: 17px;
    right:10px;
    width: 16px;
    height:16px;
    background: url("../img/close2.png") center center no-repeat;
}
.right {
    width: 100%;
}
.con-top {
    position:relative;
    z-index: 1;
    width: 100%;
    height: 80px;
    background-color: #ececec;
}
.head-icon {
    position:absolute;
    top: 15px;
    left: 20px;
}
.head-icon img {
    vertical-align:middle;
}
.head-name {
    margin: 10px 0;
    vertical-align: middle;
}
.close {
    position:absolute;
    top: 15px;
    right: 15px;
    cursor:pointer;
}
.close img {
    width:16px;
    height:16px;
}
.con-content {
    height:500px;
    border-bottom:1px solid #cdcaca;
    background-color:#fbfbfb;
    overflow-y: auto;
}
.con-content li {
    position:relative;
    z-index:1;
    padding-top: 5px;
    padding-right:70px;
    text-align: right;
}
.con-content .img {
    position:absolute;
    top: 15px;
    right:15px;
}
.con-bot {
    display:inline-block;
    margin:5px;
}
.con-bot span:first-child {
    margin-right: 15px;
}
.con-content li div span {
    font-size:12px;
    line-height:24px;
    color: #999999;
}
.message {
    position:relative;
    z-index:1;
    margin-top: 5px;
    padding:8px 15px;
    border-radius:3px;
    text-align:left;
    color:#fff;
    background-color: #5FB878;
}
.message:after {
    content: '';
    position: absolute;
    right: -10px;
    top: 13px;
    width: 0;
    height: 0;
    border-style: solid dashed dashed;
    border-color: #e2e2e2 transparent transparent;
    overflow: hidden;
    border-width: 10px;
    border-top-color: #5FB878;
}
.text-box {
    margin-left: 10px;
}
.text-box textarea {
    display: block;
    width: 100%;
    padding: 5px 0 0;
    height: 100px;
    line-height: 20px;
    border: none;
    overflow: auto;
    resize: none;
    outline: none;
    background: 0 0;
    font-size:16px;
}
.con-send {
    background-color: #f8f8f8;
}
.btn-box {
    overflow:hidden;
}
.btn-con {
    position:relative;
    z-index:1;
    float: right;
    margin:10px 15px;
}
.button {
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    line-height: 32px;
    margin-left: 5px;
    padding: 0 20px;
    background-color: #5FB878;
    color: #fff;
    border-radius: 3px;
    cursor:pointer;
    -moz-user-select: none; /*火狐*/
    -webkit-user-select: none; /*webkit浏览器*/
    -ms-user-select: none; /*IE10*/
    user-select: none;
}
.button:hover {
    background-color: #69BC80;
}
.button:active {
    background-color: #59B573;
}
.triangle {
    position: relative;
    width: 30px;
    height: 32px;
    margin-left: 0;
    padding: 0;
    border-left: 1px solid #85C998;
    border-radius: 0 3px 3px 0;
}
em {
    position: absolute;
    top: 14px;
    left: 9px;
    width: 0;
    height: 0;
    border-style: dashed;
    border-color: transparent;
    border-width: 6px;
    border-top-style: solid;
    border-top-color: #fff;
    overflow: hidden;
}
.ul-box {
    // display: none;
    position: absolute;
    z-index: 100;
    bottom:0px;
    left:10px;
    padding: 5px 0;
    width: 85px;
    border: 1px solid #E2E2E2;
    border-radius: 2px;
    background-color: #fff;
    box-shadow: 1px 1px 20px rgba(0,0,0,.1);
}
.ul-box li {
    padding-right: 15px;
    line-height: 28px;
    position: relative;
    padding-left: 30px;
    font-size: 12px;
}
.ul-box li:hover {
    background-color: #eee;
}